<html>
<head>
     <title>Help: lldist</title>
</head>
<body>
     <center><table><tbody>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff;">
                  <h4>lldist</h4>Compute distance in m between two points on Earth
                  <br><small>Last modified: 20-Oct-2009 12:08:14</small>

          </tr>
          <tr>
             <td style="border: 0px solid rgb(170, 170, 170); padding: 5px; background-color: #fff;">
                  <a href="http://guillaumemaze.googlecode.com/svn/trunk/matlab/codes/geophysic/lldist.m">Download here</a>
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #ddd; font-size:12px;">
                  <br>% lldist Compute distance in m between two points on Earth<br>%<br>% D = lldist(LAT,LON,[METHOD])<br>% <br>% Compute distance in m between two points on Earth.<br>%<br>% Inputs:<br>%	LAT (double): Latitude (degree)<br>%	LON (double): Longitude (degree)<br>%	METHOD (optional, integer): Define the method to use:<br>%		1: Haversine formula<br>%		2: (default) Vincenty inverse formula with WGS-84 ellipsoid <br>%<br>% Output:<br>%	D (double): distance in meters between points<br>%<br>% References:<br>%	T. Vincenty, Direct and inverse solutions of geodesics on the ellipsoid <br>%		with applications of nested equations. <br>%		Survey Review XXII, 176, April 1975<br>%		http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf<br>%<br>%	Vincenty formulae:  http://en.wikipedia.org/wiki/Vincenty%27s_formulae<br>%	Haversine formulae: http://en.wikipedia.org/wiki/Haversine_formula<br>%<br>% Created: 2009-09-30.<br>% All rights reserved.
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff; font-size:12px;">
                  Last update: 2011 March 04, 17:46<br>
                  Created by Guillaume Maze<br>
                  More informations at: <a href="http://codes.guillaumemaze.org/matlab">codes.guillaumemaze.org/matlab</a><br>
             </td>
          </tr>
     </tbody></table></center>
</body>
</html>
